import { ApiVersoin } from '@/common/enums/httpEnum'
const Url = {
  bringActScene: `${ApiVersoin.V11}/oin-activity/get-scene`,
  landingPage: `/marketing-activity/landing-page`,
  studentCertificationInfo: `${ApiVersoin.V11}/student/info`,
  commitCertification: `${ApiVersoin.V11}/student/commit`,
}

export const getBringActivityScene = (params) => uni.$uv.http.get(Url.bringActScene, { params })
export const getLandingPage = (params) => uni.$uv.http.get(Url.landingPage, { params, custom: { showLoading: true } })
export const getCertificationInfo = (params) => uni.$uv.http.get(Url.studentCertificationInfo, { params, custom: { showLoading: true } })
export const commitCertification = (params) => uni.$uv.http.post(Url.commitCertification, params, { custom: { showLoading: true } })
